package cn.stylefeng.guns.modular.demo.controller.convert;

import java.util.Objects;

public interface BaseConverter {
    default Double parsePrice(Integer price) {
        if (Objects.isNull(price)) {
            return 0D;
        }
        return price / 100D;
    }
}
